﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EBA.Localization;

namespace EBA.Framework
{
    /// <summary>
    /// 同一插件目录下不支持包含多个插件实现。
    /// </summary>
    [Serializable]
    public class MultiBundlesNotSupportedException : Exception
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public MultiBundlesNotSupportedException() :base("One plugin folder only support one bundle.".T()) { }
        /// <summary>
        /// 构造函数
        /// </summary>
        public MultiBundlesNotSupportedException(string message) : base(message) { }
        /// <summary>
        /// 构造函数
        /// </summary>
        public MultiBundlesNotSupportedException(string message, Exception inner) : base(message, inner) { }
        /// <summary>
        /// 构造函数
        /// </summary>
        protected MultiBundlesNotSupportedException(
          System.Runtime.Serialization.SerializationInfo info,
          System.Runtime.Serialization.StreamingContext context)
            : base(info, context) { }
    }
}
